<template>
    <view class="record_outer">
        <view class="record_header">
            <u-navbar @rightClick="isShowDatetimePicker = true" :autoBack="true" height="152rpx" bgColor="#FFFAEF"
                :fixed="true" :border="true" :placeholder="true">
                <view slot="left" class="record_header_back">
                    <image src="@/static/record/goback.png"></image>
                </view>
                <view slot="center" class="record_header_title">订单详情</view>
            </u-navbar>
        </view>
        <view class="goodsDetail_content">
            <view class="goodsDetail_content_title">商品名称描述</view>
            <view class="goodsDetail_content_one">
                <view class="left">闪电订单号</view>
                <view class="right">1234567891348512</view>
            </view>
            <view class="goodsDetail_content_two">
                <view class="left">交易所订单号</view>
                <view class="right">81234567891348512</view>

            </view>
            <view class="goodsDetail_content_three">
                <view class="left">金额</view>
                <view class="right">￥56481</view>

            </view>
            <view class="goodsDetail_content_four">
                <view class="left">状态</view>
                <!-- <view class="right success">交易成功</view> -->
                <view class="right error">交易失败</view>
                <!-- <view class="right ">已退款</view> -->

            </view>
            <view class="goodsDetail_content_five">
                <view class="left">交易时间</view>
                <view class="right">2024/03/11 10:00</view>

            </view>
            <view class="goodsDetail_content_six">
                <view class="left">退款时间</view>
                <view class="right">2024/03/12 20:00</view>

            </view>
        </view>
    </view>
</template>

<script>
import "./recordIconfont/iconfont.css";
export default {

};
</script>

<style lang="scss" scoped>
.record_outer {
    width: 100vw;
    height: 100vh;
    background: #fffaef;

    .record_header {
        .record_header_title {
            font-size: 46rpx;
            font-family: DreamHanSansSC;
            font-weight: 600;
            color: #302b26;
        }

        .record_header_date {
            width: 199rpx;
            height: 48rpx;
            background: #f5f0e5;
            border: 1px solid #ffa814;
            border-radius: 24rpx;
            display: flex;
            justify-content: center;
            align-items: center;

            text {
                font-size: 25rpx;
                font-family: Dream Han Sans SC;
                font-weight: normal;
                color: #ffa814;
            }
        }

        .record_header_back {
            width: 46rpx;
            height: 46rpx;

            image {
                width: 100%;
                height: 100%;
            }
        }
    }

    .goodsDetail_content {
        width: 100%;
        border-top: 2rpx solid rgb(183, 178, 169, 0.35);
        display: flex;
        flex-direction: column;
        row-gap: 34rpx;

        view {

            display: flex;
            justify-content: space-between;

            .left {
                margin-left: 44rpx;
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 26rpx;
                color: #6C6862;
                line-height: 30rpx;
            }

            .right {
                margin-right: 44rpx;
                font-family: PingFang SC, PingFang SC;
                font-weight: 600;
                font-size: 28rpx;
                color: #37322C;
                line-height: 32rpx;
            }
        }

        .goodsDetail_content_three .right {
            color: #FF8C28;
        }

        .goodsDetail_content_four {
            .success {
                color: #FF8C28;
            }

            .error {
                color: #FC4100;
            }
        }

        .goodsDetail_content_title {
            font-family: PingFang SC, PingFang SC;
            font-weight: 600;
            font-size: 28rpx;
            color: #37322C;
            line-height: 32rpx;
            margin-top: 38rpx;
            margin-left: 44rpx;
        }
    }
}
</style>